<!-- 我的表格 -->

<template>
  <WebTable noPage medium>
    <RowTime :label="`${CORE.MAP.ALARM}时间`" bind="alarmTime" />
    <RowText :label="`${CORE.MAP.ASSET}名称`" bind="alarmResName" :minWidth="120" />
    <RowText :label="`${CORE.MAP.ALARM}类型`" bind="alarmTypeName" />
    <RowStatus :label="`${CORE.MAP.ALARM}等级`" bind="alarmLevelId" :dict="CORE.DICT.ALARM_LEVEL" width="auto" />
    <RowOperate :btns="['show']" :width="80" :onShow="windowDetail" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import mixDetailToTable from '@admin/components/detail/mixDetailToTable'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [mixDetailToTable('', 'DetailAlarm')],
}
</script>
